package com.example.model.wemedia.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "NewsStatistics", description = "自媒体图文数据统计表")
public class NewsStatistics {
    @Schema(description = "主键")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @Schema(description = "主账号ID")
    private Integer userId;

    @Schema(description = "子账号ID")
    private Integer articleId;

    @Schema(description = "图文阅读量")
    private Integer readCount;

    @Schema(description = "图文评论量")
    private Integer newsComment;

    @Schema(description = "图文关注量")
    private Integer newsFollow;

    @Schema(description = "图文收藏量")
    private Integer newsCollection;

    @Schema(description = "图文转发量")
    private Integer newsForward;

    @Schema(description = "图文点赞量")
    private Integer newsLikes;

    @Schema(description = "图文不喜欢")
    private Integer unLikes;

    @Schema(description = "图文取消关注量")
    private Integer unFollow;

    @Schema(description = "图文转发量")
    private String newsBurst;

    @Schema(description = "创建时间")
    private Date createdTime;
}

